package Object;

public class ForImprove {
    public static void main(String[] args) {
        int [] array = {1,2,3,4,5,6,7,8,9};
        //增强for循环
        for (int arr : array){
            System.out.println(arr);
        }
    }
}
